Surface-enhanced raman scattering as a function of molecule-surface separation