Determination of the coating thicknesses due to the scattered radiation in energy dispersive X-ray fluorescence spectrometry