Stocks rally, dollar gains as Omicron fears ease