Modified Hoek–Brown failure criterion for anisotropic rocks