Insights into the Dual Activity of a Bifunctional Dehydratase-Cyclase Domain.