Energy consumption in desalinating produced water from shale oil and gas extraction