The NMR spectra of samples dissolved in liquid-crystalline phases. Automatic analysis with the aid of multiple-quantum spectra