Phonetic and phonological development in second language acquisition and foreign language learning