Biochemical characteristics and potential application of a thermostable starch branching enzyme from Bacillus licheniformis