Mechanism of flavoprotein-catalyzed pyridine nucleotide transfer reactions.