Synthesis of BiOCl using Cl source from industrial wastewater and its application for wastewater treatment