Interaction between point defects in nonstoichiometric compounds