Ion beam injection system for a variable energy RFQ accelerator