Thermal hadron production in p p and p anti-p collisions