Optical properties of nanometre AgI–silica composite synthesized by a simple quenching method