Cracking of quasi-brittle structures under monotonic and cyclic loadings: A d+/d-damage model with stiffness recovery in shear