Cutting greenhouse gas emissions could save millions of pounds in flood damage costs.