How is temperature related to the kinetic energy of particles?