Study on the agglomeration of nucleating agents in amorphous and semicrystalline polymer systems