Prediction of equilibrium defect concentrations in GaAs and ZnSe