Performance and mechanistic study on electrocoagulation process for municipal wastewater treatment based on horizontal bipolar electrodes