Synthesis, EXAFS investigation and optical spectroscopy of nanocrystalline Gd3Ga5O12 doped with Ln3+ ions (Ln=Eu, Pr)