A complementarity approach for elastoplastic analysis of strain softening frames under combined bending and axial force