Strong and weak coupling regime in pillar semiconductor microcavities