Stability analysis and stabilization of a class of discrete-time nonlinear switched systems with time-delay and affine parametric uncertainty