Functional characterization, secondary structure prediction and analysis of ectoine biosynthesis genes from Bacillus halodurans: an osmolyte involved in stress tolerance