In situ structural study of thin-film growth by quick-scanning extended x-ray-absorption spectroscopy.