Knot Invariants from Four-Dimensional Gauge Theory