Smith leads NC State to stunning 84-82 win at No. 17 Duke