Syntheses, structures and magnetic properties of 1-D coordination polymers containing both dicyanamide and 2-pyrrolidone