The role of reinforced concrete roofs in the seismic performance of masonry buildings