Optimization of the preparation of glass-coated, dye-tagged metal nanoparticles as SERS substrates.