Photochemical oxidation and reduction reactions catalyzed by flavin nucleotides.