Federalism has a long tradition in German history. The number of territories was greatly reduced during what?