The quantum theory of unimolecular reactions