Understanding Synthesis and Structural Variation of Nanomaterials Through In Situ/Operando XAS and SAXS.