Synthesis and characterization of trialkoxysilane-capped poly(methyl methacrylate)–titania hybrid optical thin films