Chipmakers lead US stocks higher in July 6 rally