A Comparative Analysis of Gendered Magic in Medieval and Early Modern Fictional Works