Fersing Robert, Gastro-entérologue à Luxeuil-les-bains