A new derivation of the tensile strength of cometary nuclei: Application to comet Shoemaker-Levy 9