FedSpace: An Efficient Federated Learning Framework at Satellites and Ground Stations