Thermogravimetric study of superconducting YBa2Cu3O9−x in hydrogen