FLEDGE: Ledger-based Federated Learning Resilient to Inference and Backdoor Attacks