Quantum-chemical calculation of the electronic structure of tetrathiotetracene