Study of the nitrogen diffusion mechanism in R2Fe17