How does temperature affect the kinetic energy of matter?