Thermal Residual Stresses in Bonded Dissimilar Materials and Their Singularities