Monte Carlo calculations of reaction rates and energy distributions among reaction products. Reactions of HF and DF with H and D-atoms