Aggregator-mediated demand response