A New Methodology for Assessing the Energy Consumption of Building Stocks