Text this: Optimization of electrocoagulation for green hydrogen production and sustainable wastewater treatment