How to calculate the potential of a spherical capacitor