Representation of the generalized Mohr–Coulomb failure criterion of anisotropic rocks in the Haigh–Westergaard stress space