Equilibrium defect concentrations and solute site preference in intermetallic compounds