Thomas Martin Catherine, Endocrinologue à Bourg-en-bresse