FedDAF: Federated Domain Adaptation Using Model Functional Distance