Flexibility of Short-chain dehydrogenase is interconnected to its promiscuity for the reduction of multiple ketone intermediates