Computational advances in masonry structures : from mesoscale modeling to engineering application