Charge-transfer potentials for ionic crystals: Cauchy violation, LO-TO splitting, and the necessity of an ionic reference state.