How vulnerable are buildings in cities to earthquakes?