On the viscosity and thermal conductivity of dense gases