Controlling the optical scattering of plasmonic nanoparticles using a thin dielectric layer