Core level and valence band investigation of WO3 thin films with synchrotron radiation