Palazzolo Jérôme, Psychiatre à Nice