Structure engineering of WO3 nanoparticles for porous film applications by advanced reactive gas deposition