Synthesis, structural characterization, and multichannel anion and cation sensing studies of a bifunctional Ru(II) polypyridyl-imidazole based receptor.