Application of total-reflection X-ray fluorescence spectrometry to elemental determinations in water, soil and sewage sludge samples