Estimating Residential Energy Consumption in Metropolitan Areas: A Microsimulation Approach