Germany wins, but U.S. moves on to knockout rounds