Gravar-mail: Optical properties of thin films and electrochromic devices