Salzmann Robert, Psychiatre à Montpellier