A self-powered electrochromic device driven by a nanogenerator | Synapse