Smaller companies lead US stocks higher as Turkey fears ease