FedSR: A Simple and Effective Domain Generalization Method for Federated Learning