Continual and Sliding Window Release for Private Empirical Risk Minimization