How did the soviets influence the political situation in poland at the end of world war ii?