Theoretical Formulas for Film Thickness Measurement by Means of Fluorescence X-Rays