Probability of damage of masonry structures due to external ground vibrations