Thermal diffusion in kinetic and equilibrium measurements by levitation technique