Poly(triarylamine)s- synthesis and application in electroluminescent devices and photovoltaics