Electron spin resonance and magnetization in perovskite and pyrochlore manganites