the water for geothermal plants is heated by