Adaptive discrete-time fault diagnosis for a class of nonlinear systems: Application to a mechanical manipulator