How can you differentiate between the solid and the gas states at the molecular level?