Influence of divalent cations on the structural thermostability and thermal inactivation kinetics of class II xylose isomerases