Dynamic Chemical Devices: Modulation of Photophysical Properties by Reversible, Ion-Triggered, and Proton-Fuelled Nanomechanical Shape-Flipping Molecular Motions