Seismic vulnerability assessment on a territorial scale based on a Bayesian approach