Magnetic and structural properties of the intermetallic La2Co1.7, Pr2Co1.7 and Nd2Co1.7 compounds