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