Determination of Oxygen and Nitrogen in Ag Nanoparticles: Role of Surfactants