Councils win funds to explore low carbon and low cost heating