Text this: In situ, real-time characterization of solid-state reaction in thin films