Dicyanomethylene-4H-pyran chromophores for OLED emitters, logic gates and optical chemosensors.