Structural analysis and optimized design of general nonprismatic I-section members