X-ray absorption spectroscopy of heme and non-heme iron : oxygen complexes and enzymatic intermediates