X-ray photoelectron spectroscopic study of perovskite titanates and related compounds: An example of the effect of polarization on chemical shifts