Utilization of geothermal energy and environmental problems