Macromolecules containing bipyridine and terpyridine metal complexes: towards metallosupramolecular polymers.