Dimerization in α-TiCl3 and α-TiBr3: the DFT study