A Note on the Determination of the Thermal Stresses in Multi-Metal Beams Subjected to Temperature Variations