Understanding adaptive capacity to extreme events and climate change in urban areas