Cobaltocene-Doped Viologen as Functional Components in Organic Electronics