Nickel oxide nanoflake-based bifunctional glass electrodes with superior cyclic stability for energy storage and electrochromic applications | Synapse