Charge-defect equilibrium description of metastable defect concentrations