First-principles modeling of X-ray absorption spectra enlightens the processes of scandium sequestration by iron oxides