Measurement of small capacitance variations