Quick seismic protection of weak masonry infilling in filled framed structures using flexible joints