Investing in insurance programs for poor farmers today could save tens of billions of dollars in coming decades as climate change upsets growing patterns and makes harvests fail, U.N.