Time correlation functions and ergodic properties in the alternating XY-chain