Studies of the electronic absorption and emission spectra of 2,1,3-benzothiadiazole