Optimal accumulation of evidence for decision-making in rats