REVIEW ARTICLE: Use of X-ray fluorescence for chemical analysis