An Adaptive Finite Element Method for Steady and Unsteady Incompressible Navier-Stokes Equations