Principles and utility of nuclear magnetic resonance in structure determination of surfactant chemicals