Privacy-preserving patient clustering for personalized federated learning