Phylogenetic, biochemical and structural assessment of key enzymes in ectoine and hydroxyectoine biosynthesis