Electron spin resonance in nearly amorphous carbon