Quantitative nuclear magnetic resonance spectrometry