Pressure and temperature effects on (TiZrTa)C medium-entropy carbide from first-principles