Ferrand Gérard, Psychiatre à Crest