X-ray photoelectron study of the relaxor lead magnesium niobate