Giant visible and infrared light attenuation effect in nanostructured narrow-bandgap glasses.