Study of the surface layer of lead titanate thin film by x-ray diffraction