Advanced nanostructured materials by layer-by-layer assembly of photoactive copolymers