Which unpopular republic destroyed centuries of Swiss traditions?