Damage assessment of a building via a Bayesian probabilistic approach with earthquake responses