USA, Mexico win groups to reach Gold Cup knockout round