A diketopyrrolopyrrole-based near-infrared sensor for selective recognition of fluoride ions