Narrow-linewidth bandpass filters with diffractive thin-film layers