Wall Street indexes end sharply higher on optimism about debt ceiling