A thin-walled beam model for flexural-torsional buckling