Simulations of quantum mechanical corrections for rate constants of hydride-transfer reactions in enzymes and solutions