Greenhouse-gas emissions from energy use in the water sector