Bloomberg says NYC will rebuild with climate change in mind