Understanding catalyst structure-performance relationships through precise synthesis and in situ characterization