Elastic Analysis of Torsional Buckling for Portal Frame Structures