The optical waveguiding properties of TiO2–SiO2 composite films prepared by the sol–gel process