Thermal hadron production in pp and $$p\bar p$$ collisions