Magnetism of single-crystalline Co nanorods