Controlled movements at the molecular level: pH-driven and luminescence-signalled cation translocation.