Determination of trace elements in rock samples by X-ray fluorescence