Poly(methyl methacrylate) and silica nanocomposites as new materials for polymeric optical devices