Magnetic resonance in chemistry