Removal of sulfate from mining waters by electrocoagulation