Phase equilibria in the ErPO4–KPO3 system