Photonic Applications Of Rare Earth Doped Teos Based Silica Thin Films And Waveguides