Time and temperature-dependent correlation function of an impurity in one-dimensional Fermi and Tonks-Girardeau gases as a Fredholm determinant.