The application of a Bayesian approach to assess the seismic vulnerability of historical centers