Palladium-Catalyzed CH Arylation and Dehydrogenative Homocoupling of Heteroaromatic Compounds and Application to the Design of Advanced Organic Materials