An EXAFS study of rare-earth phosphate glasses in the vicinity of the metaphosphate composition