Dynamic behaviour of masonry structures