Why was the capital moved from Krakow to Warsaw?