At the beginning of World War I, East Prussia became a theatre of war when the Russian Empire invaded the country. In what year did the battle of Tannenberg take place