Quantum mechanical time-delay matrix in chaotic scattering