Shock-induced breaking in the gold nanowire with the influence of defects and strain rates.