Electrodialysis of coal mine water