De Massougnes Michel, Psychiatre à Besançon