Thousands took to the streets in Tel Aviv to protest plans by Prime Minister Benjamin Netanyahu's government to overhaul the legal system.