Operating parameters in electrodialysis membrane processes for removal of arsenic in groundwater