Crystal structure and magnetic properties of the intermetallic compounds La2Co17-xMx (M = Nb, Mo, Mn)