what is the difference between molecules and ions and atom?​