Statistical mechanics of DNA rupture: theory and simulations.