Electrochromism in anodic WO3 films I: Preparation and physicochemical properties of films in the virgin and coloured states