Thermal conductivity and viscosity of ideal gases