Statistical thermodynamics of mixed-gas adsorption. Localized monolayer adsorption on heterogeneous surfaces