Influence of specimens' geometry and materials on the thermal stresses in dental restorative materials during thermal cycling.