A predictive command governor for nonlinear systems under constraints