Thermal desorption of hydrogen from carbon and graphite at elevated temperatures