Retrospective cost adaptive control for nonminimum-phase discrete-time systems, part 2: The adaptive controller and stability an