The PAMELA experiment: light-nuclei selection with stand-alone detectors