Multifunctional switching of a photo- and electro-chemiluminescent iridium-dithienylethene complex.