Study of the structural properties of ZnO thin films by x-ray photoelectron spectroscopy