Electrodialysis for the removal of copper ions from wastewater