Design and redox function of conjugated complexes with polyanilines or quinonediimines.