Theoretical Studies on the Electronic Structures and Optical Properties of Tri-aryl End-capped Terthiophene Derivatives