Anisotropic compression in the high-pressure regime of pure and chromium-doped vanadium dioxide