Federal officials are trying to boost the energy efficiency of residential and commercial real estate.