in-situ and operando X-ray absorption spectroscopy