A unilateral nonlocal tensile damage model for masonry structures