Influence of salinity on heavy metal and oil removal from hypersaline oilfield–produced water by electrocoagulation: mechanistic insights