Adaptive Control of Client Selection and Gradient Compression for Efficient Federated Learning