Origin of the silver doping effects on superconducting oxide ceramics