Grazing exit versus grazing incidence geometry for x-ray absorption near edge structure analysis of arsenic traces