An estimated 160,000 people have protested in Berlin against right-wing extremism, three weeks before Germany's parliamentary elections.