Tens of thousands of times over six years, the police stopped and questioned people on New York City streets without the legal justification for doing so, a new study says.