Modal analysis of historical masonry structures: Linear perturbation and software benchmarking