Giants get better of Cowboys to move into first in NFC East