Analysis of the metal-catalyzed decomposition of γ- and δ-haloesters by GC/FT-IR