Factors deciding the assembly and thermostability of the DmrB cage