Photopolymerization of hybrid organic/inorganic materials based on nanostructured units for photonic applications