Warping of prismatic bars in torsion