Crystallographic and magnetic properties of R.E.2(Fe,Ni)17 alloys