Essays on water and energy economics