Synthesis and properties of polythiophene derivatives containing triphenylamine moiety and their photovoltaic applications