Selective detection of pyrophosphate anion by a simple Cd(II) based terpyridine complex.