Synthesis of flexible Co nanowires from bulk precursors