Measurement of high resistance by the method of leakage of a condenser