The name evolved during the Middle Ages from Gallaecia, sometimes written Galletia, to Gallicia. When did it get its modern spelling?