Electron spin resonance of Ce3+ ions in a KMgF3 crystal