Impurity aggregation in ionic crystals studied by means of energy transfer