Tight Regret Bounds for Noisy Optimization of a Brownian Motion