Damage detection via modal analysis of masonry structures using shaking table tests