Computing capacitances via the Schwarz-Christoffel transformation in structures with rotational symmetry