The Treasury secretary warned that a default would lead to a “very substantial downturn.”