Hcp cobalt nanocrystals with high magnetic anisotropy prepared by easy one-pot synthesis.