AgI-based photosensitive memristors