Nicolas Francis, Psychiatre à Nancy