The Role of Artificial Intelligence in Cybersecurity