Isotope effects in the deactivation of O(1D) atoms by XCl and XF (X=H,D)