Electrochromic energy storage