Language contact and grammatical change