MEASUREMENTS OF COSMIC-RAY HYDROGEN AND HELIUM ISOTOPES WITH THE PAMELA EXPERIMENT