In-situ X-ray photoemission spectroscopy of [SrCuO2]n[CaCuO2]m layered structure