Ligand mediated evolution of size dependent magnetism in cobalt nanoclusters.