Electrochromic properties of nanostructured tungsten trioxide (hydrate) films and their applications in a complementary electrochromic device