Effect of a metal film on the resonance spectra of yttrium iron garnet