In situ time-resolved X-ray near-edge absorption spectroscopy of selenite reduction by siderite.