Accurate quantum mechanical calculation of thermally averaged reaction rate constants for polyatomic systems