A Methodology for the Generation of Energy Consumption Profiles in the Residential Sector