Nonlinear regulation for a class of discrete-time systems