UK police to get more powers to restrict protests after hundreds arrested