how does the kinetic energy of particles relate to the temperature of the substance containing those particles, also show the equation that relates kinetic energy and temperature.