Effects of magnetic field on chemical reactions