Generation of high-quality charged particle beams during the acceleration of ions by high-power laser radiation