X-ray fluorescence analysis in medical sciences: a review