Judge rules NYC's stop-and-frisk policy unconstitutional; city vows appeal