Integration of Federated Learning and Blockchain for Smart Cities