X-ray high voltage generator