Level set-based generation of representative volume elements for the damage analysis of irregular masonry