Preparation of WO3 nanoparticles and application to NO2 sensor