Why Ionic Compounds Are Solid