Numerical analysis of combined bending and torsion of a prismatic bar using rigid-plastic and work-hardening plasticity theories