The tensile strength of the lithosphere and the localization of extension