British voters with Brexit on their minds punish main parties in local elections,