Measuring very high resistances, e.g. isolation resistances