Giants edge 49ers in OT to reach Super Bowl