On the magnetic behaviour of Y2Fe14−xNixB and Y2Fe14−xCoxB