Quantum theory of chemical reaction dynamics