Electrochromic and Photochromic Properties