Photoelectrocatalytic degradation of sulfamethoxazole on g-C3N4/BiOI/EG p-n heterojunction photoanode under visible light irradiation