Quantum information and the arrow of time