Darlington Borough Council has saved almost £5 million in energy bills after reducing its carbon footprint.