Flow equation calculation of transient and steady-state currents in the Anderson impurity model