Carbon clusters on the Ni (111) surface: a density functional theory study