Properties of Cosmic Helium Isotopes Measured by the Alpha Magnetic Spectrometer