Rectifiability, analytic capacity, and singular integrals