Quantum field theories out of thermal equilibrium