Stable input-output inversion for nondecoupable nonminimum-phase linear systems