A spectral-Tau approximation for the Stokes and Navier-Stokes equations