Investigation of cysteine and methionine oxidation using x-ray absorption spectroscopy