Electrofluorochromism at the single-molecule level