FMN reductase catalyzed regeneration of NAD(P) for use in enzymic synthesis