The influence of a magnetic field on the transport properties of gases of polyatomic molecules: Part II, Thermal conductivity