Effect of ordered arrays of native defects on the crystal structure of In- and Ga-rich Cu-ternaries