Synthesis of polyaromatic molecules for applications in organic electronics