Easy directions of magnetization in ternary R 2 (Co, Fe) 17 phases