Ozone pact helped cool the planet: study