Mössbauer and X-ray studies of Dy(Fe1−xNix)3 and Y(Fe1−xNix)3 intermetallic compounds