Solution of the three-dimensional Navier-Stokes equations for a steady laminar horseshoe vortex flow