Electron spin resonance of polymers