Effect of optical constants on calculated values of surface-enhanced Raman scattering