Planar Waveguides based on Nanocrystalline and Er3+ doped SnO2