Application of rf superconductivity to high-brightness ion-beam accelerators