A proposal of damage identification and quantification for unreinforced and reinforced masonry structures