Preparation and magnetic behavior of arrays of electrodeposited Co nanowires