Hybrid organic/inorganic materials for photonic applications via assembling of nanostructured molecular units