Seismic vulnerability assessment and mitigation of existing masonry buildings