Structural factors controlling the transition between columnar hexagonal and helical mesophase in triphenylene liquid crystals.