Coresets for Vertical Federated Learning: Regularized Linear Regression and K-Means Clustering