Thin film counterelectrodes with high Li charge capacity for electrochromic windows