Correlation between spontaneous raman intensity and second-order nonlinear response