Cost analysis of wastewater production from conventional and unconventional oil and gas wells