War, population displacement and state formation in the Russian borderlands, 1918-1924