Effect of magnetocrystalline anisotropy in single-domain polycrystalline cobalt islands