Ferromagnetism of Ni and I co-doped CdS: A first-principles study