Lodovichetti Philippe, Psychiatre à Montbéliard