Strengthening of masonry structures by lateral confinement