6 injured after New York City taxi drives onto sidewalk