Environmental isotopes in geothermal studies