Anisotropy of Co nanoparticles induced by swift heavy ions