1H NMR spectroscopy of polymers under shear and extensional flow