New York to restrict gun carrying after Supreme Court ruling