Federated Learning for Online Resource Allocation in Mobile Edge Computing