Precision accelerator voltage measurements with a generating voltmeter