On the exact solution of non-uniform torsion for beams with asymmetric cross-section