Royal Society says combination of population growth and climate change will increase danger to cities.