Excretion of metabolites by hydrogen bacteria I. Autotrophic and heterotrophic fermentations