How can cities adapt to the consequences of climate change?