Synthesis of Ti matrix composites reinforced with TiC particles: thermodynamic equilibrium and change in microstructure