Effects of partial Co substitution on structural and magnetic properties of (Pr, Gd)2Fe14B compounds