Synthesis, electrochemistry, and ligand substitution reactions of conducting copolymer films of ruthenium polypyridine complexes and aromatic heterocycles