Polynomial chaos-based macromodeling of multiport systems using an input-output approach