In situ soft x-ray absorption spectroscopic study of polycrystalline Fe/MgO interfaces