Artificial Intelligence to Enhance Smart Grid Cybersecurity