Effect of isotropic and anisotropic damage and plasticity on ductile crack initiation