Seismic performance of masonry structures retrofitted with steel tying elements