In Situ And Operando X-Ray Spectroscopy Studies Of Solid/Gas And Solid/Liquid Interfaces