Secure and scalable smart grid IoT communication through quantum key distribution, homomorphic encryption, and federated learning