Electrochemical oxidation of reduced nicotinamide adenine dinucleotide directly and after reduction in an enzyme reactor