Synthesis, characterization and catalytic property of ruthenium–terpyridyl complexes