An Occupant-Based Dynamic Simulation Tool for Predicting Residential Power Demand and Quantifying the Impact of Residential Demand Response