Smoothed Analysis of Online and Differentially Private Learning