Organic Electronic And Optoelectronic Devices Based On Diphenylamine End-Group Polymers