Seismic performance of historical masonry structures through pushover and nonlinear dynamic analyses