US stocks rally on hopes for vaccine and economic recovery