Photocontrolled self-assembly of silica nanoparticles