Electron Spin Resonance Study of Yttrium Aluminum Garnet Films Doped with Nd and Yb Ions