Inclusion of the sample-tip interaction term in the theory of tip-enhanced Raman spectroscopy