The vulnerability of ancient buildings under permanent loading: a probabilistic approach