On the determination of rate constants from equilibrium molecular dynamics simulations