Devaux Caroline, Psychiatre à Besançon