EXAFS and X-ray diffraction of RM2X2 compounds (R = rare earths, M> = transition metal, X = Si, Ge)