Technology for teaching and learning foreign languages: a literature review