Recovering from and adapting to climate change takes money—and it could have ripple effects through the financial system.