Comparison of the electronic structures of layered transition-metal trichalcogenides thallium triselenide, thallium trisulfide and niobium triselenide