Crystal structure and magnetic properties of mixed compounds Nd1–xRxCo3 (R = Gd, Tb)