Application of the high-resolution grazing-emission x-ray fluorescence method for impurities control in semiconductor nanotechnology