A community microgrid control strategy to deliver balancing services