Cowboys edge Giants 24-21 on Romo's game-ending drive