Adaptive neural network control for a class of nonlinear time-delay systems