Statistical mechanics of supercoils and the torsional stiffness of the DNA double helix