Reversible Photocurrent Switching in Ionic and Superionic Conductors of Polycrystalline Silver Iodide