Low-temperature phase transitions in TlGaS2 layer crystals