Accurate Fe3+/Fe ratio from XAS spectra at the Fe K-edge