Quantitative analysis of deconvolved X-ray absorption near-edge structure spectra: a tool to push the limits of the X-ray absorption spectroscopy technique