Strong-coupling regime for quantum boxes in pillar microcavities: theory