which state of matter has the least amount of energy?