Effect of hydrostatic pressure on phase transitions in ferroelectric TlInS2