Optical anisotropy of shaped oriented cobalt nanoparticles by generalized spectroscopic ellipsometry