Cracking due to shear in masonry mortar joints and around the interface between masonry walls and reinforced concrete beams