Effects of critical thermal cycling on the flexural strength of resin composites.