Accuracy of least-squares methods for the Navier-Stokes equations