Template synthesis and characterization of photochromic tungsten trioxide nanofibers