Smart Microgrids: Harnessing Blockchain & AI