Seawater electrodialysis with preferential removal of divalent ions