Bistable molecular switches based on linkage isomerization in ruthenium polypyridyl complexes with a ligand-bound ambidentate motif.