Cyanocomplexes with one-dimensional structures: preparations, crystal structures and magnetic properties