Catalyst characterization by xas and xes spectroscopies: In situ and operando experiments