Global resilience to climate change