Quantum-Chemical Calculations of Hydrogen Adsorption on the Polar Surface of Titanium Carbide