Influence of light-curing mode on the sealing of resin composite restorations