Diffusion theory of reaction rates for multiple potential barriers