Manning rallies Giants past Cowboys, 37-34