Correlation functions in nuclear scattering