Controlled Synthesis of Functional Silver Nanoparticles Dispersible in Aqueous and Non-Aqueous Medium