Structure and magnetic properties of RCo7−xMnx alloys (R=Sm, Gd; x=0.1–1.4)