Characterization of optical and nonlinear optical properties of silver nanoparticles prepared by laser ablation in various liquids