Photonic Transduction of a Three‐State Electronic Memory and of Electrochemical Sensing of NADH by Using Surface Plasmon Resonance Spectroscopy