A coupled two-scale computational scheme for the failure of periodic quasi-brittle thin planar shells and its application to masonry Article uri icon