Dynamics of masonry pointed arches under base motion