Transformations of nonlinear systems into input-output prime form