FedPalm: A General Federated Learning Framework for Closed- and Open-Set Palmprint Verification