The optimal decision rule in the Kiefer–Weiss problem for a Brownian motion