Preparation and performances of all-solid-state variable infrared emittance devices based on amorphous and crystalline WO3 electrochromic thin films