Enhancement effect in x-ray fluorescence analysis of environmental samples of medium thickness