Housing conditions and energy efficiency