Voltage regulator and capacitor