As climate change brings more extreme weather, insurance may be one key way to reduce the growing risks.