Switchable optical nonlinear properties of W18O49 nanowires by Ag nanoparticles supported