Investigation of a metal-ionic conductor interface in thin film samples using X-ray photoelectron spectroscopy and electrical measurements☆