Structural and magnetic properties of some lanthanide (Ln = Eu(iii), Gd(iii) and Nd(iii)) cyanoacetate polymers: field-induced slow magnetic relaxation in the Gd and Nd substitutions.