Stocks rise on Wall Street ahead of election, inflation data