Time-dependent density-matrix-functional theory