Why Are Ionic Compounds Hard But Brittle