flavin-containing compound metabolic process