Barthelemi Michel, Psychiatre à Montpellier