U.S. Weighs Takeover of Two Mortgage Giants