Sol-Gel Synthesis and Optical Studies of Rare Earth and Transition Metal Ions Doped Nanocrystalline Aluminum and Yttrium Oxides