Ionization of hydrogen and deuterium atoms in thermal energy collisions with metastable He*(23S) atoms