The thermal conductivity of nonpolar substances in the dense gaseous and liquid regions