Polarization at ion-exchange membranes in electrodialysis