Thermal Stresses in Adhesively Bonded Joints: Numerical and Analytical Analysis