Numerical simulation of the electrodeionization (EDI) process for producing ultrapure water