Optical constants of electrochromic films and contrast ratio of reflective electrochromic devices.