Real-Time Observation of Surface Chemical Reactions Proceeding in the Depth Direction by Wavelength-Dispersive Soft X-ray Absorption Spectroscopy.