Crystal structure of a mammalian reductase