Grazing-incidence antireflection films. IV. Application to Mössbauer filtering of synchrotron radiation