Structural evaluation of low-rise masonry buildings with flexible diaphragms subjected to earthquake