Granulation of a hydrogen-producing acidogenic sludge