Shift to gas saved more than 300m tons of planet-heating carbon dioxide as nitrogen dioxide and sulfur dioxide levels dropped