Nanodiffraction imaging of impurities in atomised particles