Global optimal feedback control of nonlinear systems and viscosity solutions of Hamilton-Jacobi-Bellman equations