Influence of dentin and enamel on the fracture resistance of restorations at several thicknesses.