Demand Response for Residential Heat Pumps in Interaction with the Electricity Generation System