Diffusion of silver associated with photodoping into amorphous chalcogenides