Magnetic properties of Co nanochains