Structural, Electrochemical, and Photophysical Properties of a Molecular Shuttle Attached to an Acid-Terminated Self-Assembled Monolayer