Cutting emissions relies on energy-storage technology coming of age