A new spectrometer for grazing incidence X-ray fluorescence for the characterization of Arsenic implants and Hf based high-k layers