Cation antiphase boundaries in ionic crystals based on anion close packing