On the applicability of fracture mechanics to masonry