Why Ionic Compounds Are Solids