Low optical loss planar waveguides prepared by an organic-inorganic hybrid system