A bis(terpyridine)ruthenium complex with three redox-active amine sites: electrochemical, optical, and computational studies.