The characterisation of synthetic sulphonate and phenate detergents by nuclear magnetic resonance and infrared spectroscopy