Seismic assessment of plan irregular masonry buildings with flexible diaphragms