Phase analysis and magnetic properties of RTiFe11−xCox (R=Y,Gd) (x=0–11)