The dependence of surface-enhanced Raman scattering on surface preparation: evidence for an electromagnetic mechanism