Metal-film fiber attenuators for optical networks with flat spectral response