Dependence of ESCA signal intensities of ionic compounds on chemical environment