Thermodynamic analysis of molecular beam epitaxy of II–VI semiconductors