Nernst-Planck transport theory for (reverse) electrodialysis: II. Effect of water transport through ion-exchange membranes