Effects of Defect and Temperature on the Mechanical Performance of WS2