in situ energy dispersive x ray diffraction study of