A time-domain optimization technique for the simultaneous reconstruction of the characteristic impedance, resistance and conductance of a transmission line