An in situ synchrotron XAS methodology for surface analysis under high temperature, pressure, and shear.