Synthesis Of Doped Graphene Nanoribbons From Molecular And Polymeric Precursors