Electrochromism in MoO3 nanostructured thin films