Analysis of second order and unconditionally stable BDF2-AB2 method for the Navier-Stokes equations with nonlinear time relaxation