Study of biofilm formation by total-reflection X-ray fluorescence spectrometry