The success of the Montreal Protocol offers a blueprint for tackling climate change.