Structure and function of YcnD from Bacillus subtilis, a flavin-containing oxidoreductase.