The seismic vulnerability of architectural heritage