Computation of transit times using the milestoning method with applications to polymer translocation.