More than 30 people, including policemen, have been injured during protests by Jewish ultranationalists in one of Israel's biggest towns.