Defect formation of CuI-doped by group-IIB elements