Synthesis approach-dependent antiviral properties of silver nanoparticles and nanocomposites