Tens of thousands awarded to make energy savings on County Durham buildings