An accelerating voltage generator for compact pulsed neutron sources