Study of nuclear-spin conversion with the use of the Haupt effect and NMR dispersion spectrometry