Integrated water and power plants