Biofunctional metal–phenolic films from dietary flavonoids