Thermal desorption of deuterium and helium from ion irradiated graphite