An unusual mechanism for HOMO–LUMO gap narrowing in a minimal near-IR dye generated by the deprotonation of bis(dicyanomethylene)indan