Fractures detection in masonry constructions under horizontal seismic forces