Electron spin resonance across the charge-ordering transition in YBaMn 2 O 6