N.Y. Mayor Michael Bloomberg says city will rebuild with climate change in mind