Calculation of quasibinary and quasiternary oxide systems — I