Determination of error-corrected full scattering parameters of a two-port device from uncalibrated measurements