Emergent Behavior in a Population of Thermostatically Controlled Loads With Peer-to-Peer Communication