Implications of cumulated seismic damage on the seismic performance of unreinforced masonry buildings