How to measure the distance between capacitor plates