Acceleration of high current heavy ions using a variable energy radio-frequency quadrupole linac and measurement of the input beam emittance