Effect of Tooth-structure Thickness on Light Attenuation and Depth of Cure.