Funding won for geothermal heating of County Durham village