Multifunctional hydrogel enables extremely simplified electrochromic devices for smart windows and ionic writing boards