Synthesis and electrochemistry of transition metal oxides, conducting polymers and composites, electrochromic films and devices