Layered structure of the near-surface region of oxidized chalcopyrite (CuFeS2): hard X-ray photoelectron spectroscopy, X-ray absorption spectroscopy and DFT+U studies.