U.S. factory output rose by more than expected in June on a solid gain in motor-vehicle production, suggesting American manufacturing