Energy-efficient homes are to be built near South Tyneside to provide "affordable housing" that will reduce energy costs.