why are ionic compounds brittle