Removal of boron by electrocoagulation