Sliding Window Algorithms for k-Clustering Problems