Surface-bound norbornylogous bridges as molecular rulers for investigating interfacial electrochemistry and as single molecule switches.