Measuring electrical impedance or conductance of a portion of the body invasively, e.g. using a catheter