Optical properties and band structure of a layered Tl2S crystal