Demography-based adaptive network model reproduces the spatial organization of human linguistic groups