During which states of matter can the atoms move freely?