Adapting Cities to Climate Change: Opportunities and Constraints