How do the speed of particles behave when heat is applied to an object?