X-ray absorption and X-ray photoelectron spectroscopic studies of air-oxidized chromium nitride thin films