The lattice and magnetic properties of ErVO{sub 4} and ErPO{sub 4}.