Donald Trump was cheered by police officers for urging them not to be "too nice" when arresting "thugs".