Microwave-Assisted Greener Synthesis of Defect-Rich Tungsten Oxide Nanowires with Enhanced Photocatalytic and Photoelectrochemical Performance