Protein engineering of a thermostable polyol dehydrogenase.