Inverse-scattering problem for a system of differential equations