Theoretical origins of two contemporary approaches to foreign-language teaching