Mixed Conduction In Rare-Earth Phosphates