Growth and microstructure of Co-filled carbon nanotubes