Finite-temperature quantum field theory in Minkowski space