Determination of limiting current density and current efficiency in electrodialysis units