Mechanism of Ir(ppy)2(N--N)+ (N--N = 2-phenyl-1H-imidazo[4,5-f][1,10]phenanthroline) sensor for F-, CF3COOH, and CH3COO-: density functional theory and time-dependent density functional theory studies.