Differentially Private Online-to-Batch for Smooth Losses