Multicomponent structure in x-ray photoelectron spectroscopy of transition metal compounds