A fluorescent naphthalenediimide AND logic gate: A Pourbaix Sensor for two protons and one electron | Synapse