Nonequilibrium thermodynamics in field theory: Transport coefficients