Study of spin resonance in Hg1−xCdxTe by four-photon mixing