Seismic vulnerability of buildings in historic centers: From the “urban” to the “aggregate” scale