Can police search or beat anyone if they want? What does the law say?