Cost-optimal design of a batch electrodialysis system for domestic desalination of brackish groundwater