Design of the heavy-ion injector PIAVE