Durant puts up 39 as Warriors clinch NBA title