Characterization of surface exchange reactions used to grow compound films