Surface electronic properties of polycrystalline WO3 thin films: a study by core level and valence band photoemission