Quasiconformal distortion of Riesz capacities and Hausdorff measures in the plane