Multielement trace analysis of solid and liquid samples by X-ray fluorescence