Programmable voltage multiplier for pacemaker output pulse generation