Effect of substituents on electronic properties, thin film structure and device performance of dithienothiophene–phenylene cooligomers