Spin reorientations in R2Fe14-xCoxB systems (R = Pr, Nd and Er)