Development of a Predictive and Mechanistic Model for Capacitive Deionization