The ups and downs of ectoine: structural enzymology of a major microbial stress protectant and versatile nutrient