A branch-switching procedure for analysing instability of steel structures subjected to fire