Durget Philippe, Psychiatre à Montargis