Almost optimal control design for discrete-time nonlinear time-delay systems