Non-linear seismic assessment and retrofitting of unreinforced masonry buildings