Enrichment schemes and accuracy of the XFEM for modelling traction-free and cohesive cracks