Time dependence of correlation functions following a quantum quench