Evolution and Distribution of C7-Cyclitol Synthases in Prokaryotes and Eukaryotes.