In situ measurement of deuterium retention in graphite under successive exposure to deuterium and hydrogen plasmas