Comparison of the Electronic Structures of Layered Transition-Metal Trichalcogenides TaSe3, TaS3, and NbSe3