Synthesis and characterization of an AgI/Ag hybrid nanocomposite with surface-enhanced Raman scattering performance and photocatalytic activity