Exploring tunable optical and electrochemical properties of donor–π–acceptor imidazole derivatives for organic electronics | Synapse