Reaction mechanism of flavin dehydrogenation by D-amino acid oxidase