Relationships governing phase equilibria in refractory carbide-bearing systems of transition metals