Optically reconfigurable structures based on surface enhanced Raman scattering in nanorods