NMR spectroscopy and theoretical calculations in the conformational analysis of 1-methylpyrrolidin-2-one 3-halo-derivatives.