Development of a computer simulation program of batch ion-exchange membrane electrodialysis for saline water desalination