Correlation functions and fidelity decay in chaotic systems