Crystal chemistry of the monazite and xenotime structures