Physical and Chemical Defects in WO3 Thin Films and Their Impact on Photoelectrochemical Water Splitting