How does heat affect the movement of molecules?