Collective emission and absorption from nearly identical quantum dot aggregate in a microcavity