Insights into the stereospecificity of ketoreduction in a modular polyketide synthase.