Energy-storage-as-a-service key to cutting carbon emissions