Neutron diffraction study of the structural and magnetic properties of the R2Fe17Hx(Dx) ternary compounds (R  Ce, Nd and Ho)