A three-invariant cap-plasticity damage model for cementitious materials