How geothermal energy works and its environmental benefits