What was the reason behind the Soviet-Polish war?