Crystal structure of NADP-dependent dehydrogenase from Rhodobacter sphaeroides