The potential for using energy from flared gas or renewable resources for on-site hydraulic fracturing wastewater treatment