Magnetic anisotropy phase diagrams of R2(Co1-xFex)17 compounds (R=Y, Pr, Sm, Gd, Dy, Er)